home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / COrderedList 2.0 / COrderedList.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  305 b   |  18 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3. #include "CUnorderedList.h"
  4.  
  5. class COrderedList : public CUnorderedList
  6. {
  7.     public:
  8.     
  9.         void IOrderedList( CompareFunc compare );
  10.         
  11.         virtual void Add( CObject* anObject );
  12.         virtual void Reorder( void );
  13.  
  14.     protected:
  15.     
  16.         virtual Boolean FindIndex( CObject* anObject, long* foundIndex );
  17. };
  18.